package com.sqfw.project.wpReport.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sqfw.framework.aspectj.lang.annotation.Excel;
import com.sqfw.framework.web.domain.BaseEntity;

/**
 * 节假日表对象 wp_holiday
 * 
 * @author lx
 * @date 2023-07-12
 */
public class WpHoliday extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String autoId;

    /** 年份 */
    @Excel(name = "年份")
    private Long yearid;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dtime;

    /** 星期几 */
    @Excel(name = "星期几")
    private String dayname;

    /** 第几周 */
    @Excel(name = "第几周")
    private Long weeknum;

    /** 假期名称 */
    @Excel(name = "假期名称")
    private String holidayName;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    public void setAutoId(String autoId) 
    {
        this.autoId = autoId;
    }

    public String getAutoId() 
    {
        return autoId;
    }
    public void setYearid(Long yearid) 
    {
        this.yearid = yearid;
    }

    public Long getYearid() 
    {
        return yearid;
    }
    public void setDtime(Date dtime) 
    {
        this.dtime = dtime;
    }

    public Date getDtime() 
    {
        return dtime;
    }
    public void setDayname(String dayname) 
    {
        this.dayname = dayname;
    }

    public String getDayname() 
    {
        return dayname;
    }
    public void setWeeknum(Long weeknum) 
    {
        this.weeknum = weeknum;
    }

    public Long getWeeknum() 
    {
        return weeknum;
    }
    public void setHolidayName(String holidayName) 
    {
        this.holidayName = holidayName;
    }

    public String getHolidayName() 
    {
        return holidayName;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("autoId", getAutoId())
            .append("yearid", getYearid())
            .append("dtime", getDtime())
            .append("dayname", getDayname())
            .append("weeknum", getWeeknum())
            .append("holidayName", getHolidayName())
            .append("memo", getMemo())
            .toString();
    }
}
